import sessionStore from "./sessionStore";
let key = 'role'

export const getRole = () => sessionStore.get(key)
export const setRole = (role) => sessionStore.set(key,role)
export const delRole = () => sessionStore.del(key)
export const hasRole = () => sessionStore.get(key) === '' ? false : true